html,
body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, 'Noto Sans', sans-serif;
  background: #f5f7fb;
  color: #2f3640;
}

#app {
  min-height: 100vh;
}

// 边上的添加按钮
.liteflow-edge-add-button {
  display: none;
  pointer-events: all !important;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  border: dashed 1px #feb663;
  border-radius: 50%;
  background: transparent;
  color: #feb663;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: all 0.2s ease;

  &:hover {
    background: rgba(254, 182, 99, 0.1);
    border-color: #feb663;
  }
}

// 鼠标悬停在边上时显示添加按钮
.x6-edge:hover .liteflow-edge-add-button,
.x6-edge.edge-dragging-hover .liteflow-edge-add-button {
  display: inline-flex;
}

// 节点容器样式
.liteflow-node-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: auto;
}

// X6 边样式
.x6-edge path:nth-child(2) {
  stroke: #c1c1c1;
  stroke-width: 1px;
}

.x6-edge:hover,
.x6-edge.edge-moving,
.x6-edge.x6-edge-selected {
  path:nth-child(2) {
    stroke: #feb663;
    stroke-width: 3px;
  }
}

// 节点文本样式
.x6-node > text {
  pointer-events: none;
}

